public class TestMain {
    public static void main(String[] args) {
        int[] nums = {1};
        int target = 1;

        Solution s = new Solution();
        for (int i : s.searchRange(nums,target)) {
            System.out.print(i);
        }

        System.out.println();
        nums = new int[]{1,3,5,8,8,12};
        target = 8;
        for (int i : s.searchRange(nums,target)) {
            System.out.print(i);
        }


        System.out.println();
        nums = new int[]{5,7,7,8,8,10};
        target = 6;
        for (int i : s.searchRange(nums,target)) {
            System.out.print(i);
        }

        System.out.println();
        nums = new int[]{1};
        target = 0;
        for (int i : s.searchRange(nums,target)) {
            System.out.print(i);
        }

        System.out.println();
        nums = new int[]{2,2};
        target = 2;
        for (int i : s.searchRange(nums,target)) {
            System.out.print(i);
        }
    }
}
